﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/PageTemplate.Master" AutoEventWireup="true" CodeBehind="MyNewsMore.aspx.cs" Inherits="FrameWork.web.Module.ITMS.FrontPage.MyNewsMore" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
 <script>
//       var oldbackcolor='';
//        function MoveIn(control)
//        {        
//          oldbackcolor=control.style.backgroundColor;
//            control.style.backgroundColor='#4294C6';
//        }
//        function MoveOut(control)
//        {       
//        alert(oldbackcolor);
//            control.style.backgroundColor=oldbackcolor;
//        }

        //打开新窗口
        function OpenItem(id)
        {
           window.open("MyNewsItem.aspx?id="+id);
        }
        function changealign(id)
        {
            document.getElementById(id).align='left';
        }
        function labMoveIn(id)
        {
            document.getElementById(id).style.color="red";
        }
        function labMoveOut(id)
        {
            document.getElementById(id).style.color="Blue";
        }
        
    </script>
    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
        HeadOPTxt="通知消息" HeadTitleTxt="我的消息">
    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="消息通知">
           <table width="100%" border="0" cellspacing="1" cellpadding="3">
                <tr>
                    <td style="height: 25px;" colspan="2">
                        <b>[新闻通知]</b></td>
                </tr>
                <tr>
                    <td  style="height: 25px; background-color: white;" colspan="2">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" ShowHeader="False"
                            Width="100%">
                            <Columns>
                                <asp:TemplateField SortExpression="A_ID" Visible="False">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("A_ID") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="labID" runat="server" Text='<%# Bind("A_ID") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField SortExpression="A＿">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("A_Title") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="labTitle" runat="server" ForeColor="Blue" Text='<%# Bind("A_Title") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <RowStyle BackColor="#EDF1F8" />
                        </asp:GridView>
                        <FrameWorkWebControls:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
                        </FrameWorkWebControls:AspNetPager>
</td>
                </tr>
              
            </table>
        </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
</asp:Content>
